package com.cxso.example.response.ship;

import com.cxso.example.enums.open.NavStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
public class LatestRes implements Serializable {

    @Schema(description = "船舶id")
    private String shipId;

    @Schema(description = "定位时间")
    private Date posTime;

    @Schema(description = "经度")
    private BigDecimal lon;

    @Schema(description = "纬度")
    private BigDecimal lat;

    @Schema(description = "航向")
    private Double cog;

    @Schema(description = "航艏向")
    private Integer heading;

    @Schema(description = "航速（单位：节）")
    private Double sog;

    @Schema(description = "转向率（度/分钟）")
    private Integer rot;

    @Schema(description = "ais航行状态")
    private NavStatusEnum aisNavStatus;

    @Schema(description = "船舶mmsi")
    private String mmsi;

    @Schema(description = "英文船名")
    private String shipNameEn;

    @Schema(description = "imo号")
    private String imo;

    @Schema(description = "船舶呼号")
    private String callSign;

    @Schema(description = "船舶类型")
    private String shipType;

    @Schema(description = "船长（单位：m）")
    private String length;

    @Schema(description = "船宽（单位：m）")
    private String breadth;

    @Schema(description = "预到时间")
    private Date eta;

    @Schema(description = "目的港")
    private String destPort;

    @Schema(description = "吃水")
    private Integer draught;

}
